//
//  BJFMDBManager.h
//  BowJoy
//
//  Created by  on 2024/5/21.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface BJFMDBManager : NSObject
+ (BJFMDBManager *)sharedManager;
@property (nonnull, strong) FMDatabase * database;
- (void)creatDatabase;
-(void)insertWitModel:(BJAnchorWallModelData *)model;
-(NSArray *)queryAllData;
- (void)deleteData;
- (void)deleteDataWithUserId:(NSString *)userId;
- (void)uptadeDataWithFrend:(NSInteger)isFrend andUserId:(NSString *)userId;
- (void)uptadeDataWithLike:(NSInteger)isLike andUserId:(NSString *)userId;
- (void)uptadeDataWithCommentNum:(NSInteger)commentNum andUserId:(NSString *)userId;

@end

NS_ASSUME_NONNULL_END
